package com.qkm.xinguan.domain.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 游客表
 *
 * @author zhangfujing
 * @email 17395183041@163.com
 * @date 2021-12-19 20:16:59
 */
@Data
@TableName("tourist")
public class Tourist implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;
	/**
	 * 用户名
	 */
	@ApiModelProperty(value = "用户名")
	private String username;
	/**
	 * 密码
	 */
	@ApiModelProperty(value = "密码")
	private String password;
	/**
	 * 手机号
	 */
	@ApiModelProperty(value = "手机号")
	private String phone;
	/**
	 * 头像
	 */
	@ApiModelProperty(value = "头像")
	private String avatar;
	/**
	 * 地址
	 */
	@ApiModelProperty(value = "地址")
	private String address;
	/**
	 * 格言
	 */
	@ApiModelProperty(value = "格言")
	private String motto;
	/**
	 * uuid
	 */
	@ApiModelProperty(value = "uuid")
	private String uuid;
	/**
	 * 状态 0禁用 1启用
	 */
	@ApiModelProperty(value = "状态 0禁用 1启用")
	private Integer forbidden;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	@TableField(fill = FieldFill.INSERT)
	private LocalDateTime createTime;
	/**
	 * 修改时间
	 */
	@ApiModelProperty(value = "修改时间")
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private LocalDateTime modifiedTime;

}
